<%@ include file="/common/taglibs.jsp"%>

<title><fmt:message key="customerSearch.title"/></title>
<content tag="heading"><fmt:message key="customerSearch.heading"/></content>

<html:form action="customers" method="post" styleId="customerForm" >
<ul>
<li><table>
    <tr>
      <td>
        <carsite:label styleClass="desc" key="customerForm.username"/>
      </td>
      <td>
        <html:text property="username" styleId="username" styleClass="text medium"/>
      </td>
  
      <td>
        <carsite:label styleClass="desc" key="customerForm.realName"/>
      </td>
      <td>
        <html:text property="realName" styleId="realName" styleClass="text medium"/>
      </td>
    </tr>

    <tr>
      <td>
        <carsite:label styleClass="desc" key="customerForm.email"/>
      </td>
      <td>
        <html:text property="email" styleId="email" styleClass="text medium"/>
      </td>
   
      <td>
        <carsite:label styleClass="desc" key="customerForm.telNo"/>
      </td>
      <td>
        <html:text property="telNo" styleId="telNo" styleClass="text medium"/>
      </td>
    </tr>

    <tr>
      <td>
        <carsite:label styleClass="desc" key="customerForm.mobileNo"/>
      </td>
      <td>
        <html:text property="mobileNo" styleId="mobileNo" styleClass="text medium"/>
      </td>
    
      <td>
        <carsite:label styleClass="desc" key="customerForm.faxNo"/>
      </td>
      <td>
        <html:text property="faxNo" styleId="faxNo" styleClass="text medium"/>
      </td>
    </tr>

    <tr>
      <td>
        <carsite:label styleClass="desc" key="customerForm.otherTelNo"/>
      </td>
      <td>
        <html:text property="otherTelNo" styleId="otherTelNo" styleClass="text medium"/>
      </td>
    </tr>

<%--
    <li>
        <carsite:label styleClass="desc" key="customerForm.status"/>
        <html:checkbox property="status" styleId="status" styleClass="checkbox"/>
    </li>

    <li>
        <carsite:label styleClass="desc" key="customerForm.lastLoginTime"/>
        <html:text property="lastLoginTime" styleId="lastLoginTime" styleClass="text medium"/>
    </li>
 --%>
</table></li>

    <li class="buttonBar bottom">
        <html:submit styleClass="button" property="method.search" onclick="bCancel=false">
            <fmt:message key="button.search"/>
        </html:submit>

        <html:cancel styleClass="button" onclick="bCancel=true">
            <fmt:message key="button.cancel"/>
        </html:cancel>
    </li>
</ul>
</html:form>

